package com.link.base.microinterface.microservice;

import com.link.microservice.config.LinkFeignClientConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

/**
 * cdc人群Client
 *
 * @author KuangRuifeng
 * @date 2019/10/12 14:43
 */
@FeignClient(name = "LINK-CDC", configuration = LinkFeignClientConfig.class)
public interface CdcCrowdClient {
    /**
     * 发送Kafka消息，更新人群包里的人群明细数据
     *
     * @author KuangRuifeng
     * @date 2019/10/12 14:36
     */
    @PostMapping(value = "/dmp/crowd/sendCrowdKafkaInfo", produces = "application/json; charset=UTF-8")
    public Map<String, Object> sendCrowdKafkaInfo() throws Exception;
}
